package com.runen.infinitemovement.model.entity;

import java.util.List;

public class TopCompanyEntity {

    /**
     * code : 0
     * data : [{"departments":[{"departments":[{}],"id":"","leader":"","name":"","staffs":[{"headImage":"","isLeader":true,"userId":"","userName":""}]}],"id":"","leader":"","name":"","staffs":[{"headImage":"","isLeader":true,"userId":"","userName":""}]}]
     * msg :
     */

    public int code;
    public String msg;
    public List<DataBean> data;

    public static class DataBean {
        /**
         * departments : [{"departments":[{}],"id":"","leader":"","name":"","staffs":[{"headImage":"","isLeader":true,"userId":"","userName":""}]}]
         * id :
         * leader :
         * name :
         * staffs : [{"headImage":"","isLeader":true,"userId":"","userName":""}]
         */

        public String id;
        public String leader;
        public String name;
        public String logo;
        public List<DepartmentsBeanX> departments;
        public List<StaffsBeanX> staffs;
        public boolean passwordStatus;

        public static class DepartmentsBeanX {
            /**
             * departments : [{}]
             * id :
             * leader :
             * name :
             * staffs : [{"headImage":"","isLeader":true,"userId":"","userName":""}]
             */

            public String id;
            public String leader;
            public String name;
            public List<DepartmentsBean> departments;
            public List<StaffsBean> staffs;

            public static class DepartmentsBean {
            }

            public static class StaffsBean {
                /**
                 * headImage :
                 * isLeader : true
                 * userId :
                 * userName :
                 */

                public String headImage;
                public boolean isLeader;
                public String userId;
                public String userName;
            }
        }

        public static class StaffsBeanX {
            /**
             * headImage :
             * isLeader : true
             * userId :
             * userName :
             */

            public String headImage;
            public boolean isLeader;
            public String userId;
            public String userName;
        }
    }
}
